package com.wxy.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import com.wxy.config.jwtConfig;
import com.wxy.domain.User;
import com.wxy.domain.jwtUser;

@Mapper
public interface userMapper {
	@Select("select * from cloud_user where id=#{id}")
	public User findById(int id);
	@Select("select * from cloud_user where username=#{username} and password=#{password}")
	public User findUser(jwtUser user);
}
